package com.tocici.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;

import java.io.Serial;

/**
 * 用户对象 user
 *
 * @author zeratul
 * @date 2025-03-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("user")
public class User extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "user_id")
    private Long userId;

    /**
     * 用户名
     */
    private String username;

    private String password;

    /**
     * 手机
     */
    private String phone;

    /**
     * 头像地址
     */
    private Long avatarUrl;

    /**
     * 昵称
     */
    private String nickname;

    /**
     * 性别;0-男、1-女
     */
    private Integer gender;

    /**
     * 简介
     */
    private String info;


    private String area;

    /**
     *
     */
    @TableLogic
    private Long isDeleted;


}
